import request from '@/utils/request'

const serviceApi = {

  ServiceSettingGet: '/service/setting/get',
  ServiceLog: '/service/serviceLog/list',

  ServiceUpToken: '/service/getUpToken',
}


export function serviceLog(data) {
  return request({
    url: serviceApi.ServiceLog,
    method: 'post',
    data
  })
}

export function getServiceSetting(data) {
  return request({
    url: serviceApi.ServiceSettingGet,
    method: 'post',
    data
  })
}

export function serviceUpToken(data) {
  return request({
    url: serviceApi.ServiceUpToken,
    method: 'post',
    data
  })
}
